﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RabbitDownload.WebSite.Pixiv.PixivTag
{
    partial class PixivTagJsonNew
    {
        public class TitleCaptionTranslation
        {
            /// <summary>
            ///
            /// </summary>
            public string workTitle { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string workCaption { get; set; }
        }

        public class Data
        {
            /// <summary>
            ///
            /// </summary>
            public string illustId { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string illustTitle { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string id { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string title { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int illustType { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int xRestrict { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int restrict { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int sl { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string url { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string description { get; set; }

            /// <summary>
            ///
            /// </summary>
            public List<string> tags { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string userId { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string userName { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int width { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int height { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int pageCount { get; set; }

            /// <summary>
            ///
            /// </summary>

            /// <summary>
            ///
            /// </summary>

            /// <summary>
            /// #お尻 エロドラちゃん - もりとん的漫画
            /// </summary>
            public string alt { get; set; }

            /// <summary>
            ///
            /// </summary>
            public bool isAdContainer { get; set; }

            /// <summary>
            ///
            /// </summary>
            public TitleCaptionTranslation titleCaptionTranslation { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string createDate { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string updateDate { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string profileImageUrl { get; set; }
        }

        public class BookmarkRanges
        {
            /// <summary>
            ///
            /// </summary>
            public string min { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string max { get; set; }
        }

        public class IllustManga
        {
            /// <summary>
            ///
            /// </summary>
            public List<Data> data { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int total { get; set; }

            /// <summary>
            ///
            /// </summary>
            public List<BookmarkRanges> bookmarkRanges { get; set; }
        }

        public class Recent
        {
            /// <summary>
            ///
            /// </summary>
            public string illustId { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string illustTitle { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string id { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string title { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int illustType { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int xRestrict { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int restrict { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int sl { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string url { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string description { get; set; }

            /// <summary>
            ///
            /// </summary>
            public List<string> tags { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string userId { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string userName { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int width { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int height { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int pageCount { get; set; }

            /// <summary>
            ///
            /// </summary>

            /// <summary>
            ///
            /// </summary>

            /// <summary>
            /// #女の子 Nature - ATDAN-的插画
            /// </summary>
            public string alt { get; set; }

            /// <summary>
            ///
            /// </summary>
            public bool isAdContainer { get; set; }

            /// <summary>
            ///
            /// </summary>
            public TitleCaptionTranslation titleCaptionTranslation { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string createDate { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string updateDate { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string profileImageUrl { get; set; }
        }

        public class Permanent
        {
            /// <summary>
            ///
            /// </summary>
            public string illustId { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string illustTitle { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string id { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string title { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int illustType { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int xRestrict { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int restrict { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int sl { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string url { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string description { get; set; }

            /// <summary>
            ///
            /// </summary>
            public List<string> tags { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string userId { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string userName { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int width { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int height { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int pageCount { get; set; }

            /// <summary>
            ///
            /// </summary>

            /// <summary>
            /// #dnf dnf - monaim的插画
            /// </summary>
            public string alt { get; set; }

            /// <summary>
            ///
            /// </summary>
            public bool isAdContainer { get; set; }

            /// <summary>
            ///
            /// </summary>
            public TitleCaptionTranslation titleCaptionTranslation { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string createDate { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string updateDate { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string profileImageUrl { get; set; }
        }

        public class Popular
        {
            /// <summary>
            ///
            /// </summary>
            public List<Recent> recent { get; set; }

            /// <summary>
            ///
            /// </summary>
            public List<Permanent> permanent { get; set; }
        }

        public class Header
        {
            /// <summary>
            ///
            /// </summary>
            public string url { get; set; }
        }

        public class Footer
        {
            /// <summary>
            ///
            /// </summary>
            public string url { get; set; }
        }

        public class Infeed
        {
            /// <summary>
            ///
            /// </summary>
            public string url { get; set; }
        }

        public class ZoneConfig
        {
            /// <summary>
            ///
            /// </summary>
            public Header header { get; set; }

            /// <summary>
            ///
            /// </summary>
            public Footer footer { get; set; }

            /// <summary>
            ///
            /// </summary>
            public Infeed infeed { get; set; }
        }

        public class AlternateLanguages
        {
            /// <summary>
            ///
            /// </summary>
            public string ja { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string en { get; set; }
        }

        public class Meta
        {
            /// <summary>
            /// #欧派のイラスト・マンガ作品(投稿超过10万件） - pixiv
            /// </summary>
            public string title { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string description { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string canonical { get; set; }

            /// <summary>
            ///
            /// </summary>
            public AlternateLanguages alternateLanguages { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string descriptionHeader { get; set; }
        }

        public class ExtraData
        {
            /// <summary>
            ///
            /// </summary>
            public Meta meta { get; set; }
        }

        public class Body
        {
            /// <summary>
            ///
            /// </summary>
            public IllustManga illustManga { get; set; }

            /// <summary>
            ///
            /// </summary>
            public Popular popular { get; set; }

            /// <summary>
            ///
            /// </summary>
            public List<string> relatedTags { get; set; }

            /// <summary>
            ///
            /// </summary>

            /// <summary>
            ///
            /// </summary>
            public ZoneConfig zoneConfig { get; set; }

            /// <summary>
            ///
            /// </summary>
            public ExtraData extraData { get; set; }
        }

        public class Root
        {
            /// <summary>
            ///
            /// </summary>
            public bool error { get; set; }

            /// <summary>
            ///
            /// </summary>
            public Body body { get; set; }
        }
    }
}